﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Emerson.Storage.Entities;

namespace Kashikoi
{
    public class Station : IStation
    {
        public List<IContainer> Containers
        {
            get;
            set;
        }
    }

    public class Room : IStockConainter
    {
        List<IStockItem> StockItems { get; set; }

        #region IStockConainter Members

        public List<IInventory> Inventories
        {
            get;
            set;
        }

        #endregion

        #region IContainer Members

        List<IStockItem> IContainer.StockItems
        {
            get;
            set;
        }

        #endregion
    }

    public class MedInventory : IInventory
    {
        #region IInventory Members

        public IStockConainter Container
        {
            get;
            set;
        }

        public IStockItem Item
        {
            get;
            set;
        }

        public DateTime? ModifiedTime
        {
            get;
            set;
        }

        public int Number
        {
            get;
            set;
        }

        #endregion
    }

    public class Medication : IStockItem
    {

        #region IStockItem Members

        public List<IInventory> Inventories
        {
            get;
            set;
        }

        #endregion
    }
}
